package com.hhs.storage.service;

import com.hhs.storage.bean.Car;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hhs.storage.bean.Driver;
import com.hhs.storage.bean.InputParam;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hhs
 * @since 2022-12-21
 */
public interface CarService extends IService<Car> {
    public Map<String, Object> getAll(Car car, InputParam inputParam);
    /**
     * 查询车辆出车和异常统计数据
     * @param car
     * @param inputParam
     * @return
     */
    public Map<String, Object> countTable(Car car, InputParam inputParam);
    public Map<String, Object> addOrUpdate(Car car, String deleIdStr, MultipartFile[] drivingPermitList);
    public Map<String, Object> dele(String id);
    public Map<String, Object> changeState( String id,  Integer state);
}
